Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(logging): change some debug logs to warnings and errors #958

Merged

Conversation

Alex6323
Copy link
Contributor

@Alex6323 Alex6323 commented Jul 27, 2023

Description of change

Some circumstances were logged as debug, but they should be logged as warn or even as error in some cases. This makes identifying unusual situations in the log file a bit easier.

Links to any relevant issues

Closes #317

Type of change

  • Enhancement (a non-breaking change which adds functionality)

How the change has been tested

By 🙏 ing!

@Alex6323 Alex6323 changed the title change some debug logs to warnings and errors chore(logging): change some debug logs to warnings and errors Jul 27, 2023
Copy link

@DaughterOfMars DaughterOfMars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about the message handlers. Failing to deserialize a message from a client isn't really an error, per-se. It just means the client sent bad data. For devops this could be quite annoying. It's like if we logged an error every time someone sent a bad API request.

@thibault-martinez thibault-martinez merged commit 67cb327 into iotaledger:1.1 Jul 28, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants